package com.goods.business.service;

import com.goods.common.model.business.ProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface ProductCategoryService {
    PageVO<ProductCategoryTreeNodeVO> getCategoryList(Integer pageNum, Integer pageSize);

    List<ProductCategoryTreeNodeVO> getParentCategoryList();

    void addProductCategory(ProductCategory productCategory);

    ProductCategory editProductCategory(Long id);

    void updateProductCategory(Long id, ProductCategory productCategory);

    Integer deleteProductCategory(Long id);
}
